﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CozeDto.Base;

namespace CozeDto.UserDtos
{
    public class RepUserInfo : BaseModelInfo
    {
        /// <summary>
        /// 手机号
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string? Account { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string? Avatar { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string? NickName { get; set; }

        /// <summary>
        /// 微信账户
        /// </summary>
        public string? WeChartAccount { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Email { get; set; }

        /// <summary>
        /// 用户类型 (普通用户/分销用户)
        /// </summary>
        public string? UserType { get; set; }

        /// <summary>
        /// 分销用户ID
        /// </summary>
        public string? SaleUserId { get; set; }

        /// <summary>
        /// 消费额设定
        /// </summary>
        public double? ConsumptionAmountLimit { get; set; }

        /// <summary>
        /// 返现设定
        /// </summary>
        public double? CashbackAmountLimit { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string? Gender { get; set; }
         
        /// <summary>
        /// 生日
        /// </summary>
        public string? Birthday { get; set; }

        /// <summary>
        /// 地区
        /// </summary>
        public string? Region { get; set; }

        /// <summary>
        /// 签名
        /// </summary>
        public string? Signature { get; set; }

        /// <summary>
        /// 收款二维码设定（针对分销员）
        /// </summary>
        public string? WxQrCode { get; set; }

        /// <summary>
        /// 支付宝收款二维码设定（针对分销员）
        /// </summary>
        public string? AlipayQrCode { get; set; }

        /// <summary>
        /// 分销链接（offlne根据申请沟通，沟通后后台变更用户类型为分销员，该用户前端UI即可看见分销链接
        /// </summary>
        public string? SalesLink { get; set; }

        /// <summary>
        /// 账户金额
        /// </summary>
        public double? Balance { get; set; }

        /// <summary>
        /// 上次登录时间
        /// </summary>
        public DateTime? LastLoginTime { get; set; }

        /// <summary>
        /// 上次登录IP地址 
        /// </summar
        public string? LastLoginIp { get; set; }

        /// <summary>
        /// 登录总次数
        /// </summary>
        public int? LoginTotalCount { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool? Status { get; set; }
    }
}
